package com.chaos.framework.starter;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Jacky
 */
@Data
@ConfigurationProperties(prefix = "server")
@EnableConfigurationProperties(ChaosProperties.class)
@Component
public class ChaosProperties {
    private String host;
    private String port;
    private String name;
    private String version;

}
